export default {
  path: '/report',
  name: 'ReportManage',
  component: () => import('@/layout/index.vue'),
  redirect: '/report/list',
  meta: {
    title: '报表管理',
    icon: 'Document',
    order: 3
  },
  children: [
    {
      path: 'list',
      name: 'ReportList',
      component: () => import('@/views/pages/report/list.vue'),
      meta: {
        title: '报表列表',
        keepAlive: true
      }
    },
    {
      path: 'edit/:id',
      name: 'ReportEdit',
      component: () => import('@/views/pages/report/index.vue'),
      meta: {
        title: '编辑报表',
        hidden: true
      }
    },
    {
      path: 'preview/:id',
      name: 'ReportPreview',
      component: () => import('@/views/pages/report/preview.vue'),
      meta: {
        title: '报表预览',
        activeMenu: '/report/list',
        hidden: true
      }
    }
  ]
} 